#ifndef MAINSCENE_H
#define MAINSCENE_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainScene; }
QT_END_NAMESPACE
class MyPushButton;
class ChooseLevelScene;
class MainScene : public QMainWindow
{
    Q_OBJECT

public:
    MainScene(QWidget *parent = nullptr);
    ~MainScene();
    void init();
    void paintEvent(QPaintEvent* ev);
    void setConnect();
public slots:
    void startChoose();
    void onAcitionQuitClicked();
    void onStartBtnClicked();
    void BackToMain();
private:
    Ui::MainScene *ui;
    MyPushButton*   m_StartBtn;
    ChooseLevelScene* m_pChooseLevelScene;
};
#endif // MAINSCENE_H
